Add arrayTypeSize option, alternative to passing constructor in arrayType