remove uneccessary snapshots, update template vm before cloning in case its snapshot does not exist