lib/zfs.js
function clone(opts, cb) {
    "use strict";

    var params = [ 'clone' ];
    params.push(opts.snapshot, opts.dataset);

    zfs(params, cb);
}
function clone(opts, cb) {
    "use strict";

    var params = [ 'clone' ];
    params.push(opts.snapshot, opts.dataset);

    zfs(params, cb);
}
/*

Creates a clone of the given snapshot.
The target dataset can be  located  anywhere  in  the  ZFS  hierarchy, and is created as the same type as the original.

PARAMS:
opts: {
snapshot: string //the location of the snapshot. Follwing structure must be used: pool/project/production@today (must exist)
dataset: string //the name of the mount point (must exist)
}