ISO19139 / Fix template when adding a resolution.
Create deep copy of codelist to not modify the cached object - it was creating many blanks options in some cases.