Assure we return copy of an object

There are rare cases when we want to alter options object,
and resolveOptions gives an assumptions we always receive a copy
when it was not always a case