Support conversion of np.array with dtype=bool