Add .dup requirement and allow byte[]->void[]->T[] cast