Question How Does Curiosity Take Selfies?

Have you ever seen "Curiosity's" selfies while on Mars? They're very high quality but only show the rover. It doesn't have a helicopter like "Ingenuity" so how does it do it?
See here for how it is done:

Original thread: https://forums.space.com/threads/how-does-curiosity-take-selfies.38053/