Like [root:Core].Weak_hashtbl, but automatically collects keys with unused data, rather than requiring user code to call remove_keys_with_unused_data.
remove_keys_with_unused_data