public IInternalWindow Clone() => new Window(Id) { Category = Category, Rectangle = Rectangle?.Clone(), RectangleCurrent = RectangleCurrent?.Clone(), OsVisibility = OsVisibility, Title = Title, Class = Class };
public IInternalWindow Clone() { return(new WindowMock { Id = new WindowIdMock(Id.RawId), Title = Title, Class = Class, Rectangle = Rectangle.Clone(), RectangleCurrent = RectangleCurrent.Clone(), OsVisibility = OsVisibility, Category = Category, }); }