added functions zeros_like, ones_like, infs_like, nans_like