public void Copy(IEnumerable <AnnoObject> objects) { if (objects is not null && objects.Any()) { using var memoryStream = new MemoryStream(); _layoutLoader.SaveLayout(new LayoutFile(objects), memoryStream); memoryStream.Seek(0, SeekOrigin.Begin); _clipboard.Clear(); _clipboard.SetData(CoreConstants.AnnoDesignerClipboardFormat, memoryStream); _clipboard.Flush(); } }