If arr is null, return null. Otherwise, return a non-null transformation dg over arr.
See Implementation
If arr is null, return null. Otherwise, return a non-null transformation dg over arr.