Just FYI. /lib/form/repeatableProperty can simplify this.
But I think this is also OK for same codes are already used in other jelly files.
(This seems for /lib/form/repeatableProperty did not exist in some earlier version of Jenkins)