Implement Scene.clone #3032

The object returnen by the scene's clone method is now a fully valid scene and
can be used in rendering. A minimal demonstration of the problem can be found [here](http://jsfiddle.net/phU3H/). This commit fixes #3032.