code: function (element) {
              $(element).find(':input').each(function (index, inputObj) {
                  putFieldValue(inputObj, getFieldValue(inputObj), true);
              });
          }
docs: sometimes, setting a value will only be made in memory and not physically in the dom; and we need the full dom when we want to duplicate a field.