'Creates a clone of the specified volume.'

def create_cloned_volume(self, volume, src_vref):

    src_vol_name = src_vref.name
    vol_name = volume.name
    vol_size = volume.size
    new_vhd_path = self.local_path(volume)
    with self._temporary_snapshot(src_vol_name) as tmp_snap_name:
        self._tgt_utils.export_snapshot(tmp_snap_name, new_vhd_path)
        self._vhdutils.resize_vhd(new_vhd_path, (vol_size << 30), is_file_max_size=False)
        self._tgt_utils.import_wt_disk(new_vhd_path, vol_name)
