Protected config variable from mutation by adding clone function