Kennedy's opinion on this matter is well known since he authored the Windsor decision. That he voted this way again is certainly no surprise.
According to Scalia what did Kennedy gain for being the 5th vote?