How to create inline object reference?

@yura Hey, might be useful for this.