title: Is it possible to create extension constructors in Kotlin?
body: <p>In other languages like Swift, there is the possibility of creating a function extension that adds a new constructor. </p>
  
  <p>Something like this:</p>
  
  <pre><code>// base class
  class Whatever() {
      ...
  }
  
  // constructor method extension
  fun Whatever.constructor(potato: String) {
      setPotato(potato)
  }
  
  fun main(args: Array&lt;String&gt;) {
      println(Whatever("holi"))
  }
  </code></pre>
  
  <p>Are there any means to do this in Kotlin?</p>