Selfies On Mars (Cool Weird Awesome 68)

The Curiosity Rover takes selfies on Mars - so how does it do it without having its robot arm in the foreground of every shot?