It was a great move, unnecessary but great nevertheless.
And he was smart about it, I didn't see any particular showboating attitude towards it. He thought the attacker could get the ball and he went it to protect it until it goes off. Ball trolled the fuck out of everyone & stayed in-pitch, so he placed his body to protect it like a defender would do. He had the physical edge over the attacker so he held, then raised his head & passed it to the closest defender.
Showboating would have been trying to dribble the attacker or making a back heel pass outside the box, this was just a good defensive play.