It's often necessary to copy a snippet of HTML before using it. Otherwise the original gets changed. To copy a snippet:
$se = new StampTE($templateHTML);
$mypizza = $se->get('pizza')->copy();
With the $mypizza object we can now do whatever we want without affecting the original snippet. See 'Examples' for a more detailed example of how to use this.