When copying a hash, pass the api through to the new object