//--------------------// #region Clone /// <summary> /// Creates a deep copy of this <see cref="Selections"/> instance. /// </summary> /// <returns>The new copy of the <see cref="Selections"/>.</returns> public Selections Clone() { var selections = new Selections { UnknownAttributes = UnknownAttributes, UnknownElements = UnknownElements, InterfaceUri = InterfaceUri, Command = Command }; selections.Implementations.AddRange(Implementations.CloneElements()); return(selections); }