If you run this for a while, you'll notice your clone count going up and up (and eventually Snap! will run out of memory)
See if you can change your script to stop this from happening