Cleanup of the clone instance template