If an object is added to both GroupA and GroupB, and GroupB is neither a parent nor a child of GroupA, it is currently rendered as if GroupB were a child of GroupA (or vice versa).
Instead, the object should be rendered separately for each group, as long as it is a direct child of that group.
This would be especially useful for deployment diagrams, for example to show on which instances or servers an application is deployed.