CloneOperation: allow setting the reference to checkout