Making sure we deal with a copy of the component so we don't change the input