code: def clone_from(self, other):
          
          for other_finfo in other.data:
              self.clone_editor_from(other_finfo, set_current=True)
          self.set_stack_index(other.get_stack_index())
docs: Clone EditorStack from other instance