Add a method to add fields in loop

Very useful when you want to override a loop ... (#830 in master ...)
tell more about this method ? What is the purpose ?