public bool DuplicateSelected(bool run = true) { if (_selectedShapes.Count == 0) return false; if (run) { // Equivalent to copy + paste var buf = SerializeSelected(); buf.Position = 0; PasteAndSelect(buf, new VectorT(20, 20)); } return true; }