Doping metal ions only onto the catalyst surface