Add a method to add fields in loop

Very useful when you want to override a loop ... (#830 in master ...)