src/transformers/models/oneformer/convert_to_hf_oneformer.py/TrackedStateDict/copy
class TrackedStateDict:    def copy(self) -> Dict:
        # proxy the call to the internal dictionary
        return self.to_track.copy()