Duplicate line with all its childs

Like I could start to see here, what is the loop to include all childs and grand childs (linked tables) when duplicating a line in a ‘parent’ table ?
Would Python be better ?

Happy to join this new community !
Thanks for your support.

I’d say python is the only way to accomplish such a task.