Digging out part of the clay and topping it with lovely soil in effect has created a "bathtub". Since the underlying clay is still there it will continue to prevent the water from draining properly.
@RickCorey is good at explaining this. Raised beds
might be the easier way to achieve positive results; the other choice would involve some seriously deep digging to get below the clay layer...ugh.