Eat the cake and still have it?
It means you can't have the action and not have its consequences as well.