Get form cloning working.

This fixes the problem of lost input values in cloned forms.

Now the proper form inputs are getting sent to the server.

And the choice to build an object with all the necessary pieces worked out ok too.