Photoshop has an AI tool for this too ... You can find the Remove Tool in the toolbar — it’s the bandage icon that has sparkles next to it (unlike the heal tool which is just a plain bandage).
The first known use of the sparkle on software dates back to 1990, when Adobe debuted the pixelated icon on Photoshop’s wand ...