It works for showing editing to the duplicated row. but the downside i guess its the one time duplicated edit screen.
Means, the first time i make the add row stuff. after that i re-clicked the action, and add another row, but the relation we go through is the first duplicated one, but not the next duplicated.
Have that Duplicate button be a form, and set the default values of all entries to the ones in the current row. That form will serve as an “add row” function when people click Submit, and they can edit the information beforehand?