copyOf

abstract override fun copyOf(): IntMatrix

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