title: RxJava share with last value for new subscribers
body: <p>I have created an <code>Observable</code> as a result of transformation of <code>BehaviourSubject</code> with a lot of functions. Now I want to share the values of that <code>Observable</code>, so the chain of functions would not be re-executed for every new subscriber. Also I want the shared copy to behave the same as original, i.e. newly arrived subscriber should get last emitted value just after subscription.</p>
  
  <p>In <code>0.20.x</code> it was possible to use <code>multicast(subjectFactory).refCount()</code> with factory of <code>BehaviourSubject</code>'s, or simply use <code>share(initialValue)</code>, which in turn used <code>BehaviourSubject</code> instead of <code>PublishSubject</code>.</p>
  
  <p>How do I achieve the same behaviour in <code>1.0.x</code>?</p>