They should donate to a foundation. They should not have link with it (direct or indirect). Their family (direct or indirect) should not have link with it (direct or indirect).
The problem with these structures is that they allow someone to control and directly benefit from assets without fiscally owning them. Usually these foundations have complex structures and use generous fiscal code of some countries.
For many, the main goal is to lower the fiscal pressure during transmission to the children.