World No.1 Ash Barty has lifted her 10th WTA singles trophy after the successful defence of her Miami Open title.