Is it possible to reset the values that were changed from an animation?

When an animation takes place that affects a UI element, I want to be able to reset everything that the animation changed. For example if the animation changes the opacity of an element from 1 to 0, I want to be able to reset the values for that element somehow. Is there a ready-to-use method, without having to save the default values somewhere?