duplicate

duplicate(fs, number_of_copies)

Returns a fieldset with the specified number_of_copies of the field in fs.

Parameters
  • fs (Fieldset) – input fieldset with one field only

  • number_of_copies (number) – the number of copies required

Return type

Fieldset