shallow copy config