def copy(self, deep_copy_buffers: bool = True) -> _MPSHandler:
        """Copies the object.

        Args:
            deep_copy_buffers: True by default, False to reuse the existing buffers.
        Returns:
            A copy of the object.
        """
        return _MPSHandler(
            simulation_options=self._simulation_options,
            grouping=self._grouping,
            qid_shape=self._qid_shape,
            M=[x.copy() for x in self._M],
            estimated_gate_error_list=self._estimated_gate_error_list.copy(),
            format_i=self._format_i,
        )
Copies the object.

        Args:
            deep_copy_buffers: True by default, False to reuse the existing buffers.
        Returns:
            A copy of the object.
        
cirq-core/cirq/contrib/quimb/mps_simulator.py