Fix broken replica set spec
Ensure to clone localized fields.

[ fix #3337 ]