public static void Clear(UnsafeHashCollection *collection)
        {
            collection->FreeCount = 0;
            collection->UsedCount = 0;

            var length = collection->Entries.Length;

            AllocHelper.MemClear(collection->Buckets, length * sizeof(Entry * *));
            UnsafeBuffer.Clear(&collection->Entries);
        }