Removing doubles and preserving UV map

Hi, I’m just wondering if this is possible and what steps to do. I acquired a complex mesh with double sided planes and I would like to remove the doubles while preserving the UV map.

Thanks.