Hi Sanja,
This is just a random idea that popped into my head, so may not be any better?
Explode your polygons into individual points (if you are familiar with ArcObjects I'm think of the IPointCollection Interface) into a new featureclass, extract their XY coordinates as attributes and concatenate that into a single string field then do some sort of group by query?
Just an idea...
Duncan