Make fromModel compatible with fromArray() to add autoHeadingGeneration from fromArray, fixes issue #139