Clones have a clone index 0 when they are first created

1 sentence description of the problem:
When clones are created, if they pass their clone index or something based on their clone index as an argument to a custom rule, they will instead give it 0.
Steps to reproduce the problem every time:
(Start in a blank draft if possible)

  1. Add an object
  2. Add a custom rule that accepts an argument
  3. Pass self’s clone index as an argument to it

I expected this to happen:
The first clone to pass “1” as the argument
But instead this happened:
It passed “0”.