public static ImmutableConfig copyOf ( Config config ) { if ( config instanceof ImmutableConfig ) { return ( ImmutableConfig ) config ; } else { return new ImmutableConfig ( config ) ; } }
Create an immutable config instance .