How best to extend simple/standard Material to use 2D Array Texture?

You can do it like this:

The doc will be improved with more samples: