select preferable constructor if argument is an array (for java.lang.String)