In the imperative sense of idempotent, a method is idempotent with respect to system state, not just its arguments.
It's about repeated calls e.g.
a.f(x).f(x)
results in the same state as a.f(x)
Not about repeated application. E.g. f(f(x)) = f(x)