Is there a proper way to instantiate a new object of class T ? On JVM there's newInstance(). I can get it to work with passing the constructor around usually, or sprinkling some js(), but it seems like there should be a proper way, and I keep running into the need to do it.