I got my answer: it's duplicating because there are two accounts - Google and iCloud. I am editing a contact of iCloud and default account selected in contact is Google so it's creating contact or we say updating it to Google rather than iCloud