Amla and Duminy put Sri Lanka to the sword