pub fn clone(array: &dyn Array) -> Box<dyn Array + 'static, Global>
Expand description

Clones a dynamic Array.

Implementation

This operation is O(1) over len, as it amounts to increase two ref counts and moving the concrete struct under a Box.