Validates and shallow-copies a transport priority order.
Non-empty ordered list of ESPTransportMode values or custom keys.
A copy of order.
order
With ConfigErrorCodes.INVALID_TRANSPORT_ORDER if order is missing, empty, or not an array.
Validates and shallow-copies a transport priority order.