docs: def get_model_creation_kwargs(model_obj):
      """
      Get a dictionary of the keyword arguments needed to create the passed model
      object using `pylogit.create_choice_model`.
  
      Parameters
      ----------
      model_obj : An MNDC_Model instance.
  
      Returns
      -------
      model_kwargs : dict.
          Contains the keyword arguments and the required values that are needed
          to initialize a replica of `model_obj`.
      """
      # Extract the model abbreviation for this model
      model_abbrev = get_model_abbrev(model_obj)
  
      # Create a dictionary to store the keyword arguments needed to Initialize
      # the new model object.d
      model_kwargs = {"model_type": model_abbrev,
                      "names": model_obj.name_spec,
                      "intercept_names": model_obj.intercept_names,
                      "intercept_ref_pos": model_obj.intercept_ref_position,
                      "shape_names": model_obj.shape_names,
                      "shape_ref_pos": model_obj.shape_ref_position,
                      "nest_spec": model_obj.nest_spec,
                      "mixing_vars": model_obj.mixing_vars,
                      "mixing_id_col": model_obj.mixing_id_col}
  
      return model_kwargs