copyOf

abstract override fun copyOf(): SparseIntMatrix

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