'Clone volume from existing cinder volume.
:param volume: The clone volume object.
If the volume \'metadata\' field contains a \'backdate\' key
(If using Cinder CLI, should be provided by --meta flag),
then we create a clone from the specified time.
The \'backdate\' metadata value should be in the format of
Reduxio CLI date: mm/dd/yyyy-hh:mm:ss.
for example: \'02/17/2015-11:39:00.
Note: Different timezones might be configured
for Reduxio and OpenStack.
The specified date must be related to Reduxio time settings.
If meta key \'backdate\' was not specified,
then we create a clone from the volume\'s current state.
:param src_vref: The source volume to clone from
:return: None'

@cinder_utils.trace
def create_cloned_volume(self, volume, src_vref):

    LOG.info('cloning    new    volume(%(clone)s)    from    src(%(src)s)', {'clone': volume['name'], 'src': src_vref['name']})
    parent_name = self._cinder_id_to_rdx(src_vref['id'])
    clone_name = self._cinder_id_to_rdx(volume['id'])
    description = self._create_vol_managed_description(volume)
    if (BACKDATE_META_FIELD in volume[METADATA_KEY]):
        LOG.info('Cloning    from    backdate    %s', volume[METADATA_KEY][BACKDATE_META_FIELD])
        self.rdxApi.clone_volume(parent_name=parent_name, clone_name=clone_name, description=description, str_date=volume[METADATA_KEY][BACKDATE_META_FIELD])
    else:
        LOG.info('Cloning    from    now')
        self.rdxApi.clone_volume(parent_name=parent_name, clone_name=clone_name, description=description)
    if (src_vref['size'] < volume['size']):
        self.rdxApi.update_volume(name=clone_name, size=volume['size'])
