Fix for clone-with-props in react 0.12.2