Australia claimed a 2-0 series whitewash of Sri Lanka with a nine-wicket victory in the second Test in Galle in their final Test match before taking on the Proteas in the World Test Championship final.