added option for removing duplicate keywords

Hi Michael,

Please review and merge.

Let me know if anything missing

Regards,
Abhijeet  { /ajduke }