mrdoob/three.js — pull request #5262 by dubejf (2014-09-04 01:38:48+00:00)
Title: BufferGeometry: Clone attributes

Introduce BufferAttribute.clone().

Cloned attribute generated in BufferGeometry.clone() now remain instances of BufferAttribute. Previously, they were recreated as simple Object.

Make sure to go through BufferGeometry addAttribute() machinery when cloning the attributes.