How to duplicate multiple fields at once in a form