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.
Spaces to tabs.
Updated builds.