Wrinkling on irreversibly deforming foundations