SciPy

scipy.sparse.dok_matrix.copy

dok_matrix.copy()[source]