'Creates a clone of the specified volume.'

def create_cloned_volume(self, volume, src_vref):

    try:
        src_volume_name = src_vref['name']
        out = self._eql_execute('volume', 'select', src_volume_name, 'clone', volume['name'])
        if (out and (volume['size'] > src_vref['size'])):
            self.extend_volume(volume, volume['size'])
        self.add_multihost_access(volume)
        return self._get_volume_data(out)
    except Exception:
        with excutils.save_and_reraise_exception():
            LOG.error('Failed    to    create    clone    of    volume    "%s".', volume['name'])
