The metal cap was an interesting item in Super Mario 64.
It could turn Mario into strong steel. Which made him very durable in a good number of situations.
I also allowed him to walk under water, which came in handy in many missions.
It also inspired the Metal Mario sub-boss fights in Super Smash Bros.
Before it was just an item anyone could use regardless of character.