Clone tree, add branches and save new tree

grep -r CloneTree ${ROOTSYS}/t[eu]*

But, see this thread and some notes about various flavours of automatically generated “analysis skeletons” .