'Cleanup target volume on failed clone/ snapshot creation.
:param array: the array serial number
:param target_device_id: the target device ID
:param source_device_id: the source device ID
:param clone_name: the name of the clone volume
:param extra_specs: the extra specifications'

def _cleanup_target(self, array, target_device_id, source_device_id, clone_name, snap_name, extra_specs):

    snap_session = self.rest.get_sync_session(array, source_device_id, snap_name, target_device_id)
    if snap_session:
        self.provision.break_replication_relationship(array, target_device_id, source_device_id, snap_name, extra_specs)
    self._delete_from_srp(array, target_device_id, clone_name, extra_specs)
