Workaround dart2js clone bug