code: def clone(self, _, scene):
          
          # Assume that the application creates a new set of Frames and so we need to match up the
          # data from the old object to the new (using the name).
          if self._name is not None:
              for effect in scene.effects:
                  if isinstance(effect, Frame):
                      if effect._name == self._name:
                          effect.data = self.data
                          for layout in self._layouts:
                              layout.update_widgets(new_frame=effect)
docs: Create a clone of this Frame into a new Screen.
  
          :param _: ignored.
          :param scene: The new Scene object to clone into.