SciPy

scipy.sparse.dia_matrix.copy

dia_matrix.copy()[source]