VcHost host, boolean linked, ConfigSpec config, IVcTaskCallback callback) throws Exception {
// no change to ds
AuAssert.check(!isTemplate());
AuAssert.check(snap != null);
final VcDatacenter dc = getDatacenter();
ManagedObjectReference dsMoRef = null;
if (ds != null) {
dsMoRef = ds.getMoRef();
}
return cloneWork(dc, rp.getMoRef(), dsMoRef, snap.getMoRef(),
folder == null ? null : folder._getRef(), host == null ? null : host.getMoRef(), linked, name, config, callback);