This is the property of titanium, which forms an impermeable and chemically extremely stable TiO2 film in most solutions. Of course you need enough titanium in the alloy to get this passivation layer over the whole surface. Chromium, zirconium and silicon behave in a similar way.