pub fn clone(array: &(dyn Array + 'static)) -> Box<dyn Array>
Clones a dynamic Array.
Array
This operation is O(1) over len, as it amounts to increase two ref counts and moving the concrete struct under a Box.
O(1)
len
Box