When you clear an image layer, all paint is removed from the unmasked regions of the image layer, but the image layer is not deleted.
All paint, except for paint protected by either layer masks or marquee selections, is cleared from the image layer.