Curiosity captured this on Sol-1065 (August 5th, 2015) using its MAHLI camera on the end of the arm to mark its 3rd year on Mars.
This is probably my all time favorite MSL panorama from the whole mission. Extensive processing was done to make the image as realistic as if you were there. I made two versions of this panorama, one with the sky extended and one with the just the result of mosaicing the frames. Links to the the full images are below.