What is an iron plate or magnet placed near the compass on iron vessels to neutralize the effect of the ship's attraction on the needle called?

compensator — (Naut.) An iron plate or magnet placed near the compass on iron vessels to neutralize the effect of the ship's attraction on the needle. (Webster's 1913.)

Sources