Returns element as a IntArray, converting scalar types when possible.
element as IntArray or empty IntArray if fail.