fix missing support for static arrays in clone and equality