Minor refactoring of the coral resource render method.
Cloning objects in the coral data merge method to prevent unwanted side effects.