fix path invalidation for state changes

we need to use cljs.core/clone available in ClojureScript 0.0-2134 not
just cljs.core/identity.