copyOf

open override fun copyOf(): SparseMatrix<T>

Creates a copy of the matrix of an appropriate type with the same content.