Not pretty but it works (tested in 2019.3).
Selection.activeGameObject = someGameObjectToCopy;
Unsupported.CopyGameObjectsToPasteboard();
Unsupported.PasteGameObjectsFromPasteboard();
var copy = Selection.activeGameObject;