Mirrors `WeakHashSet` for map shapes. Cell-typed key and/or value slots are stored as `Weak<T>` so entries vanish when their referent is collected; non-cell slots are stored directly.