Hi Sathya,
I have found this CLI tool from GitHub mendix-userlib-cleaner that identifies and cleans duplicate JARs from the userlib directory from your Mendix project. This helps to avoid compatibility and conflict issues with said JAR files. Other than that, I haven't found something official for avoiding those duplicates other than manually deleting them yourself.
I hope that helps you, cheers!