Problem returning reference to TArray from a BlueprintCallable function

Having problem to create a BlueprintCallable function that returns a reference to a TArray, it seems that the function returns a copy of the array instead.

Function signature as below.


UFUNCTION(BlueprintCallable) FORCEINLINE
  TArray& GetCurrentArray();

The same function does work fine when called in C++.