Feature custom shallow clone and merge

Fixes issues with recursive objects being passed as render locals (#17, #18)