a : array
limits : None or (lower limit, upper limit)
Values in the input array less than the lower limit or greater than the
upper limit will be masked out. When limits is None, then all values are
used. Either of the limit values in the tuple can also be None
representing a half-open interval.
inclusive : (bool, bool)
A tuple consisting of the (lower flag, upper flag). These flags
determine whether values exactly equal to lower or upper are allowed.