This looks strange -- why `self.__class__(...)` rather than `LocalArray(...)`?  For subclasses?