fn reset(pool: *Pool) void
Resets the memory pool and destroys all allocated items. This can be used to batch-destroy all objects without invalidating the memory pool.
pool: *Pool,