Merges template models by applying the source model to the target model, with the result being implementation-dependant.
IModel
merge(IModel targetModel, IModel sourceModel)
Merge the source model into the target model.
Groovy Documentation