public object Clone() { var temp = (TypeLabel)this.MemberwiseClone(); temp.Labels = (VideoLabels)Labels?.Clone(); return(temp); }
/// <summary> /// Clones this instance. /// </summary> /// <returns>A new object that is a copy of this instance.</returns> public AxisDefinitionOptions Clone() { var clonned = (AxisDefinitionOptions)MemberwiseClone(); clonned.Grid = Grid.Clone(); clonned.Labels = Labels.Clone(); clonned.Marks = Marks.Clone(); clonned.Title = Title.Clone(); clonned.Values = Values.Clone(); return(clonned); }