Tweak the constructor to use the udtype or dtype dynd constructor depending on the input