Migrate project/group memberships of project/groups
<!--IssueSummary start-->
<details>
<summary>
Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards.
</summary>
- [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=395634)
</details>
<!--IssueSummary end-->
### Problem
- One can set projects/groups as members of projects/groups
- Performing a direct migration for a group results in this assignments being lost
For example as below, on the target instance this assignment does not exist:

issue