Right now `clear` deallocates the internals. It would be nice to have reset which resets the size without changing allocations.