Shreyas Iyer hit an unbeaten half-century as India beat Sri Lanka by six wickets in the third T20I to complete a 3-0 clean sweep.