clone()
public
Returns a clone of the matrix, so that the
contents of each do not reference identical
objects. There should be no good reason to do this since Matrices are
immutable.
Show source
def clone
new_matrix @rows.map(&:dup), column_count
end