On the shape memory of red blood cells