And who puts Order 66 into the clones? The Kaminoans would certainly question why a Jedi would want such a thing programmed into them.
In the canon, all clones have an inhibitor chip installed in them which forced them to comply with Order 66, but in the old Legends continuity, they were just programmed to demonstrate unfailing loyalty to the Supreme Chancellor.