public ScanProfile Clone() { var profile = (ScanProfile)MemberwiseClone(); if (profile.AutoSaveSettings != null) { profile.AutoSaveSettings = AutoSaveSettings.Clone(); } return(profile); }
public ScanProfile Clone() { var profile = (ScanProfile)MemberwiseClone(); if (profile.AutoSaveSettings != null) { profile.AutoSaveSettings = AutoSaveSettings.Clone(); } if (profile.HistogramStretchConfig != null) { profile.HistogramStretchConfig = HistogramStretchConfig.Clone(); } return(profile); }