Fix cloning of groups and some objects with non-standard properties

[#74717296]