Steve Smith believes Australia were "near flawless" thrashing Sri Lanka by an innings and 242 runs for their biggest Test win on the subcontinent.