On Sol 32 (Sept. 7, 2012) the Curiosity rover used the Mars Hand Lens Imager (MAHLI) located on its arm to obtain this self-portrait.
+
Image Credit: NASA/JPL-Caltech