India clinched five gold medals on the final day to top the medal tally for the first time in the history of the Championships.