safe and unsafe implementations of matrix Array() methods depending on build flag netgo