Added clone
Fixed template methods
Added setMode to Quinte contraint