public override ConfigNodeViewModel clone()
        {
            WorldVarRefValueConfigViewModel newInstance =
                new WorldVarRefValueConfigViewModel(m_parentExperiment, m_varType, m_parent, nodeDefinition, m_parent.xPath);

            m_parentExperiment.RegisterWorldVarRef(newInstance.Update);
            newInstance.m_varType        = m_varType;
            newInstance.Variables        = Variables;
            newInstance.SelectedVariable = SelectedVariable;
            return(newInstance);
        }
        public override ConfigNodeViewModel clone()
        {
            WorldVarRefValueConfigViewModel newInstance =
                new WorldVarRefValueConfigViewModel(m_appViewModel, m_varType, m_parent, nodeDefinition, m_parent.xPath);

            m_appViewModel.registerWorldVarRef(newInstance.updateValues);
            newInstance.m_varType = m_varType;
            newInstance.varNames  = varNames;
            newInstance.selectedEnumeratedName = selectedEnumeratedName;
            return(newInstance);
        }