I changed this to `Cartesian3.equals` but now I see why it was done using the prototype function. Using a static function restricts the array to one type. Using the prototype function it will work for any type that has an equals method. I'm changing it back so it can be used for `Cartographics` in `WallGeometry`.