copy

Matrix copy()

Same as Tensor.copy but returns Matrix

Return

a new Matrix instance with the same shape and data.