fn clone(self: Self, allocator: Allocator) Allocator.Error!Self

Creates a copy of this ArrayList.

Parameters

self: Self,
allocator: Allocator,