docs: def copy_meta_data_from_state_m(self, source_state_m):
          """Dismiss current meta data and copy meta data from given state model
  
          The meta data of the given state model is used as meta data for this state. Also the meta data of all state
          elements (data ports, outcomes, etc.) is overwritten with the meta data of the elements of the given state.
  
          :param source_state_m: State model to load the meta data from
          """
  
          self.meta = deepcopy(source_state_m.meta)
  
          for input_data_port_m in self.input_data_ports:
              source_data_port_m = source_state_m.get_input_data_port_m(input_data_port_m.data_port.data_port_id)
              input_data_port_m.meta = deepcopy(source_data_port_m.meta)
          for output_data_port_m in self.output_data_ports:
              source_data_port_m = source_state_m.get_output_data_port_m(output_data_port_m.data_port.data_port_id)
              output_data_port_m.meta = deepcopy(source_data_port_m.meta)
          for outcome_m in self.outcomes:
              source_outcome_m = source_state_m.get_outcome_m(outcome_m.outcome.outcome_id)
              outcome_m.meta = deepcopy(source_outcome_m.meta)
          self.income.meta = deepcopy(source_state_m.income.meta)
  
          self.meta_signal.emit(MetaSignalMsg("copy_state_m", "all", True))