Ben Stokes' masterclass reminded the cricket fan about Kusal Perera's carnage in the first Test against South Africa earlier this year. The wicket-keeper batsman had played a similar inning in the similar circumstances to Sri Lanka to a one-wicket victory.