Added support for arrays vs slices.
Added support for clearing arrays in constructors.