Add sparse arrays support in make_from_numpy().