ClikaRT::ops::clone
function
clone()
Deep copy on the same device: fresh storage, identical shape, dtype, and values. Equivalent to copy(src) with the defaults.
Throws
ClikaRT::Error: when the input's dtype/shape is not served for this operation (the machine-readable reason ridescode_name()).
Returns: the owning copy.
Declared in ClikaRT/compute/ops.h, line 2007