clear_host_errors bug?

I’m running Ansible 2.3.1.0 and getting some off behaviour with clear_host_errors - is this a bug???

Here’s a sample Playbook:

`

I can confirm this behavior. To me it looks like a bug.