clone options when initializing a provider, fixes #250