klyn.math.NDArray.copy
method
public copy() as NDArray<T>
Description

Creates an independent contiguous copy with the same shape and dtype. Copies primitive bits in bulk, preserving NaNs and full-width integers.

Returns

Owned snapshot, never an alias of this array.

Example

saved = values.copy()