use CLONE instead of TYPE to decide if image should be deleted