Fixing `utility.clone()` for RegExp instances