RFC: Fix in methods `reinterpret` and `reshape` for sparse matrices.

Calling these methods on sparse matrices would result in corruption of the original matrix, due to sharing of the `rowval` field between the original and reinterpreted/reshaped matrix.  This is now prevented by having the field copied.
same here. `similar` should be sufficient instead of `copy`