I have some group fields that include dropdowns with a lot of choices. Users can make multiple selections. Most of the selections are repeatable so it would be useful if users could duplicate the group and start from there.
There is a settings clone_default for each field if you want to clone default values. You can set the default value for the whole group (which is an array of default values for sub-fields). Then when cloning, these values will be selected automatically.
For user-selected options, they will be cleared when cloning. It's the design at first, since it makes the new clone clean and easy to start entering new values.
I am talking for the second part, for user-selected options. There are times where there a lot of repeatable data (like in my case) where user selects almost the same options. In these cases they could duplicate an existing clone field and edit it without the need of selecting all the options again.
I see. That's an opinion. Some people want to start over again to select different options for the new clone. And the existing values might take them a lot of time deleting unnecessary values, especially the group has cloneable sub-groups.
Each option will have pros and cons. It's a choice that we made from the beginning, and changing it won't be a reasonable solution for now.
I don't mean to change the default behavior of the button but to add a "Duplicate" option like the "Remove" option you have now (although in that case it will be better to use icons in the right top corner, one icon for removing and one icon for duplicating).