Added function for clone and setup in one step.