Need a snippet to clone a record, its children and its children's children...

Help me master of the clone! How is this done. I have been trying to do it from a row action on a table. Are you saying that I need to set up a detail page to accomplish this? How does this work? -Say I have an account named ABC company - I have 3 contacts linked to the ABC Company - I have 4 tasks linked to each of the 3 contacts (12 In all). How do I clone all of these with a button push and get them all connected correctly? I was using clone always based on your previous help on this topic earlier this year (I gave up and am just now getting back around to it months later). I was doing a set of actions from a row action to clone one level at a time… I couldn’t get them linked properly, though. Any help would be appreciated.