A manual sensor clean in most cameras does this. If mirrorless, leave the cap on
On a Sony E-mount camera, the ultrasonic sensor cleaning doesn't do pixel remapping, only the date trick (or the menu option on electronic shutter models) works to trigger it manually.