def mutable_copy(self) -> cirq.MutablePauliString:
        """Returns a new `cirq.MutablePauliString` with the same contents."""
        return MutablePauliString(
            coefficient=self.coefficient, pauli_int_dict=dict(self.pauli_int_dict)
        )
Returns a new `cirq.MutablePauliString` with the same contents.
cirq-core/cirq/ops/pauli_string.py