'Creates a clone of the specified volume.'

def create_cloned_volume(self, volume, src_vref):

    LOG.debug('Creating    clone    of    volume:    %s', src_vref['name'])
    volume_name = (self.configuration.zadara_vol_name_template % src_vref['name'])
    cg_name = self._get_volume_cg_name(volume_name)
    if (not cg_name):
        LOG.error('Volume    %(name)s    not    found', {'name': volume_name})
        raise exception.VolumeNotFound(volume_id=volume['id'])
    self.vpsa.send_cmd('create_clone', cg_name=cg_name, name=(self.configuration.zadara_vol_name_template % volume['name']))
    if (volume['size'] > src_vref['size']):
        self.extend_volume(volume, volume['size'])
