fn dupe(allocator: Allocator, comptime T: type, m: []const T) ![]T
Copies m to newly allocated memory. Caller owns the memory.
m
allocator: Allocator,
T: type,
m: []const T,