fn deinit(self: *Self, allocator: Allocator) void
deinitializes the array and releases its memory. The passed allocator must be the same one used for init* or resize in the past.
self: *Self,
allocator: Allocator,