kangax/fabric.js — pull request #317 by aggrosoft (2012-11-16 12:47:46+00:00)
Title: Class Utils fails to work with arrays

As javascript passes arrays by reference you will end up working
on one array in multiple instances if you declare a class member as
empty array. To get around this the class util has to check for arrays
and clone them (using slice).