'Clear the clone information.
Invoke this in case of failed clone.'

def _clear_clone(self, clone_id):

    clone_clear = netapp_api.NaElement.create_node_with_children('clone-clear', **{'clone-id': clone_id})
    retry = 3
    while retry:
        try:
            self.connection.invoke_successfully(clone_clear, enable_tunneling=True)
            break
        except netapp_api.NaApiError:
            time.sleep(5)
        retry = (retry - 1)
