Fix Java nil pointer exception on JRuby due to tags array being used concurrently by multiple threads. Use clone to create a dedicated copy for the appender thread