Find ACL-permissions of LDAP-Subtree so I can clone them

I want to copy the permissions from one “Subtree” to another

what do I need to execute to get an output like this with the current permissions:

access to dn.subtree="cn=myContainer,dc=mydomain,dc=tld"
    by set="user & [cn=myGroup,cn=groups,dc=mydomain,dc=tld]/uniqueMember*" write
    by set="user & [cn=Domain Users,cn=groups,dc=mydomain,dc=tld]/uniqueMember*" read
Mastodon