public ExampleOptions Clone() { ExampleOptions clone = new ExampleOptions(); // Copy serialised properties clone.SetValuesFromCopy(this); clone.SettingsPath = SettingsPath; return(clone); }