hooks: Cleanup.
mode: remove redundant x == mode_b after mode_is_data(x).

mode_b is a data mode.
array: Remove CLONE_ARR_*().

The name is misleading (only the size is replicated, not the contents).
Further, they were only used by the corresponding DUP_ARR_*().