Function setupClone